package com.fs.groupSeven.service;

import com.fs.groupSeven.pojo.Class;
import com.fs.groupSeven.pojo.College;
import com.fs.groupSeven.pojo.Subject;
import com.fs.groupSeven.pojo.Teacher;
import com.fs.groupSeven.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @description:
 * @author： mjx
 * @createDate: 2020/9/28
 * @version: 1.0
 */
public interface SubjectService {
    List<Subject> getSubjectList();
    List<College> getCollegeList();
    Subject getOneBySubjectId(Integer subjectId);
    boolean modifyOneSubject(Subject subject);
    boolean addOneSubject(Subject subject);
    PageInfo<Subject> getSubjectsByPage(Integer currentPage, Integer pageSize,Integer collegeId);
    boolean removeOneSubject(Subject subject);
    List<Teacher> getTeacherList(Integer collegeId);
    List<Class> getClassList(Integer subjectId);
    PageInfo<Subject> getListByPageAndSubjectName(Integer currentPage, Integer pageSize,Integer collegeId,String subjectName);
}
